package com.bootdo.system.domain;

import java.util.Date;

import com.bootdo.common.annotation.Table;

@Table(code="tb_order",display="订单")
public class Order extends BaseDO{
	//课程时间id
	private Long courseId;
	//课程时间价格
	private Long coursePrice;
	//课程时间遛点
	private Long coursePoints;
	//0 待支付 1已支付 2取消 -1 退款 3已核销
	private Long orderStatus;
	//订单编号
	private String orderNo;
	//家长id
	private Long parentsId;
	//宝宝id
	private Long babyId;
	//使用红包id
	private Long redBagId;
	//使用账户金额
	private Long accountTotal;
	//订单支付时间
	private Date payTime;
	//订单取消时间
	private Date cancelTime;
	//家长姓名
	private String parentName;
	//家长手机号
	private String parentPhone;
	//商家id
	private Long customerId;
	
	private Course course;
	
	private CourseTime courseTime;
	
	private Customer customer;
	
	//宝宝姓名
	private String babyName;
	//开课时间
	private Date startTime;
	//支付类型 0余额支付1微信支付
	private Integer payType;
	//手机验证码
	private String phoneCode;
	
	public Order() {}

	public Long getCourseId() {
		return courseId;
	}

	public void setCourseId(Long courseId) {
		this.courseId = courseId;
	}

	public Long getCoursePrice() {
		return coursePrice;
	}

	public void setCoursePrice(Long coursePrice) {
		this.coursePrice = coursePrice;
	}

	public Long getCoursePoints() {
		return coursePoints;
	}

	public void setCoursePoints(Long coursePoints) {
		this.coursePoints = coursePoints;
	}

	public Long getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Long orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Long getParentsId() {
		return parentsId;
	}

	public void setParentsId(Long parentsId) {
		this.parentsId = parentsId;
	}

	public Long getBabyId() {
		return babyId;
	}

	public void setBabyId(Long babyId) {
		this.babyId = babyId;
	}

	public Long getRedBagId() {
		return redBagId;
	}

	public void setRedBagId(Long redBagId) {
		this.redBagId = redBagId;
	}

	public Long getAccountTotal() {
		return accountTotal;
	}

	public void setAccountTotal(Long accountTotal) {
		this.accountTotal = accountTotal;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getCancelTime() {
		return cancelTime;
	}

	public void setCancelTime(Date cancelTime) {
		this.cancelTime = cancelTime;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String getParentPhone() {
		return parentPhone;
	}

	public void setParentPhone(String parentPhone) {
		this.parentPhone = parentPhone;
	}

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	public Course getCourse() {
		return course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public CourseTime getCourseTime() {
		return courseTime;
	}

	public void setCourseTime(CourseTime courseTime) {
		this.courseTime = courseTime;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public String getBabyName() {
		return babyName;
	}

	public void setBabyName(String babyName) {
		this.babyName = babyName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public String getPhoneCode() {
		return phoneCode;
	}

	public void setPhoneCode(String phoneCode) {
		this.phoneCode = phoneCode;
	}
	
	
	
}
